package com.pmp.pojo;
// default package

import java.util.Date;


/**
 * Task entity. @author MyEclipse Persistence Tools
 */

public class Task  implements java.io.Serializable {


    // Fields    

     private Integer taskId;
     private Account account;
     private Project project;
     private String content;
     private Date startTime;
     private Date endTime;
     private Date deadline;
     private String priority;
     private String state;
     private Integer weights;
     private String progress;


    // Constructors

    /** default constructor */
    public Task() {
    }

	/** minimal constructor */
    public Task(Project project, Date startTime, Date endTime, String priority, String state, Integer weights, String progress) {
        this.project = project;
        this.startTime = startTime;
        this.endTime = endTime;
        this.priority = priority;
        this.state = state;
        this.weights = weights;
        this.progress = progress;
    }
    
    /** full constructor */
    public Task(Account account, Project project, String content, Date startTime, Date endTime, Date deadline, String priority, String state, Integer weights, String progress) {
        this.account = account;
        this.project = project;
        this.content = content;
        this.startTime = startTime;
        this.endTime = endTime;
        this.deadline = deadline;
        this.priority = priority;
        this.state = state;
        this.weights = weights;
        this.progress = progress;
    }

   
    // Property accessors

    public Integer getTaskId() {
        return this.taskId;
    }
    
    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Account getAccount() {
        return this.account;
    }
    
    public void setAccount(Account account) {
        this.account = account;
    }

    public Project getProject() {
        return this.project;
    }
    
    public void setProject(Project project) {
        this.project = project;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public Date getStartTime() {
        return this.startTime;
    }
    
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return this.endTime;
    }
    
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getDeadline() {
        return this.deadline;
    }
    
    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

    public String getPriority() {
        return this.priority;
    }
    
    public void setPriority(String priority) {
        this.priority = priority;
    }

    public String getState() {
        return this.state;
    }
    
    public void setState(String state) {
        this.state = state;
    }

    public Integer getWeights() {
        return this.weights;
    }
    
    public void setWeights(Integer weights) {
        this.weights = weights;
    }

    public String getProgress() {
        return this.progress;
    }
    
    public void setProgress(String progress) {
        this.progress = progress;
    }
   








}